import request from '@/utils/request'
export interface getshareType {
    pageSize: number,
    currentPage: number,
    calssid?: number
}
export default {
    //获取服务分类
    getAllServeclass: () => request.get("/getAllServeclass"),
    //增加服务分类
    addServeclass: (data: any) => request.post("/addServeclass", data),
    //修改服务分类
    updateServeclass: (data: any) => request.put("/updateServeclass", data),


    //获取普通分类
    getAllGoodstype: () => request.get("/getAllGoodstypePram"),
    //增加普通分类
    addGoodstype: (data: any) => request.post("/addGoodstype", data),
    //修改普通分类
    updateGoodstype: (data: any) => request.put("/updateGoodstype", data),

}